﻿<Window x:Class="KTool2.AboutBox"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="About" 
        Height="340" 
        Width="460"
        FontFamily="Lucida Sans Unicode" 
        ResizeMode="NoResize" 
        Icon="/KTool 2;component/Images/Rate.png">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="2*"/>
            <ColumnDefinition Width="3*"/>
        </Grid.ColumnDefinitions>

        <Image Name="imgIcon" 
               Width="130" 
               Source="/KTool 2;component/Images/BigLogo.png"
               Margin="10"></Image>

        <StackPanel Grid.Column="1" 
                    VerticalAlignment="Center">
            <Image Name="imgCompanyLogo" 
                   Width="150" 
                   Source="/KTool 2;component/Images/FptLogo.png"
                   HorizontalAlignment="Left">
                <Image.Effect>
                    <DropShadowEffect Opacity="0.4" 
                                      ShadowDepth="3">
                    </DropShadowEffect>
                </Image.Effect>
            </Image>
            <TextBlock Margin="5, 15, 10, 5" 
                       HorizontalAlignment="Left" 
                       FontSize="20" 
                       FontWeight="Bold" 
                       FontFamily="Lucida">
                KTool
            </TextBlock>
            <TextBlock Name="txtVersion" 
                       Margin="5">
                Version
            </TextBlock>
            <TextBlock Name="txtCopyright" 
                       Margin="5">
                Copyright
            </TextBlock>
            <StackPanel Orientation="Horizontal">
                <TextBlock Margin="5">
                    Website:
                </TextBlock>
                <TextBlock Name="txtWebsite" 
                           Margin="0, 5" 
                           Foreground="Blue" 
                           Cursor="Hand" 
                           MouseDown="txtWebsite_MouseDown">
                    <Underline>
                        http://KTool.codeplex.com
                    </Underline>
                </TextBlock>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <TextBlock Margin="5">
                    Contact:
                </TextBlock>
                <TextBlock Name="txtContact" 
                           Margin="0, 5" 
                           Foreground="Blue" 
                           Cursor="Hand" 
                           MouseDown="txtContact_MouseDown">
                    <Underline>
                        HiepHN60508@fpt.edu.vn
                    </Underline>
                </TextBlock>
            </StackPanel>
            <TextBlock Margin="5, 5, 5, 0">
                Description:
            </TextBlock>
            <TextBox Name="txtDescription" 
                     BorderThickness="0" 
                     Height="65" 
                     Foreground="#FF484848"
                     Margin="5, 0, 5, 0" 
                     TextWrapping="Wrap" 
                     IsReadOnly="True">
            </TextBox>
        </StackPanel>
    </Grid>
</Window>
